package com.douwong.student.model;

import java.io.Serializable;
import java.util.List;

/**
 * @autor yichao
 * @time 2017/6/168:55
 * @des ${TODO}
 */

public class HandWriterData implements Serializable {
    private static final long serialVersionUID = 1L;


    /**
     * msg : 查询成功
     * number : 200
     * flag : true
     * data : {"path":"http://edu.douwong.com/api/writeinteractionlist","total":6,"perPage":"30","lastPage":1,"currentPage":1,"items":[{"file_url":"/classroom/1/teacher/289/3/hw/2d48d911-fa0a-4f97-9b18-aef1d1d7f46a.jpg","create_id":289,"create_time":"2017-06-12 05:37:00","class_id":3,"id":14972602206,"subjectid":1},{"file_url":"/classroom/1/teacher/289/3/hw/5bb938e1-ab18-49ac-9f0b-e95a381f25dd.jpg","create_id":289,"create_time":"2017-06-12 05:38:20","class_id":3,"id":14972603004,"subjectid":1},{"file_url":"/classroom/1/teacher/289/3/hw/74f4b03a-fce4-4f51-9ac3-884ffab8f133.jpg","create_id":289,"create_time":"2017-06-13 09:31:16","class_id":3,"id":14973174767,"subjectid":1},{"file_url":"/classroom/1/teacher/289/3/hw/1ee0299e-241d-404c-9ab1-0d3eedbd5fa4.jpg","create_id":289,"create_time":"2017-06-13 09:37:50","class_id":3,"id":14973178707,"subjectid":1},{"file_url":"/classroom/1/teacher/289/3/hw/11827682-4b10-47c3-af51-d8007a297504.jpg","create_id":289,"create_time":"2017-06-15 04:34:51","class_id":3,"id":14975156911,"subjectid":1},{"file_url":"/classroom/1/teacher/289/3/hw/34e3ccf1-876f-459a-b4b3-9aeefd43840b.jpg","create_id":289,"create_time":"2017-06-15 05:07:43","class_id":3,"id":14975176631,"subjectid":1}],"pageName":"page"}
     */
    private String msg;
    private int number;
    private boolean flag;
    private DataEntity data;

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    public void setFlag(boolean flag) {
        this.flag = flag;
    }

    public void setData(DataEntity data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public int getNumber() {
        return number;
    }

    public boolean isFlag() {
        return flag;
    }

    public DataEntity getData() {
        return data;
    }

    public class DataEntity implements Serializable{
        private static final long serialVersionUID = 1L;
        /**
         * path : http://edu.douwong.com/api/writeinteractionlist
         * total : 6
         * perPage : 30
         * lastPage : 1
         * currentPage : 1
         * items : [{"file_url":"/classroom/1/teacher/289/3/hw/2d48d911-fa0a-4f97-9b18-aef1d1d7f46a.jpg","create_id":289,"create_time":"2017-06-12 05:37:00","class_id":3,"id":14972602206,"subjectid":1},{"file_url":"/classroom/1/teacher/289/3/hw/5bb938e1-ab18-49ac-9f0b-e95a381f25dd.jpg","create_id":289,"create_time":"2017-06-12 05:38:20","class_id":3,"id":14972603004,"subjectid":1},{"file_url":"/classroom/1/teacher/289/3/hw/74f4b03a-fce4-4f51-9ac3-884ffab8f133.jpg","create_id":289,"create_time":"2017-06-13 09:31:16","class_id":3,"id":14973174767,"subjectid":1},{"file_url":"/classroom/1/teacher/289/3/hw/1ee0299e-241d-404c-9ab1-0d3eedbd5fa4.jpg","create_id":289,"create_time":"2017-06-13 09:37:50","class_id":3,"id":14973178707,"subjectid":1},{"file_url":"/classroom/1/teacher/289/3/hw/11827682-4b10-47c3-af51-d8007a297504.jpg","create_id":289,"create_time":"2017-06-15 04:34:51","class_id":3,"id":14975156911,"subjectid":1},{"file_url":"/classroom/1/teacher/289/3/hw/34e3ccf1-876f-459a-b4b3-9aeefd43840b.jpg","create_id":289,"create_time":"2017-06-15 05:07:43","class_id":3,"id":14975176631,"subjectid":1}]
         * pageName : page
         */
        private String path;
        private int total;
        private String perPage;
        private int lastPage;
        private int currentPage;
        private List<ItemsEntity> items;
        private String pageName;

        public void setPath(String path) {
            this.path = path;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public void setPerPage(String perPage) {
            this.perPage = perPage;
        }

        public void setLastPage(int lastPage) {
            this.lastPage = lastPage;
        }

        public void setCurrentPage(int currentPage) {
            this.currentPage = currentPage;
        }

        public void setItems(List<ItemsEntity> items) {
            this.items = items;
        }

        public void setPageName(String pageName) {
            this.pageName = pageName;
        }

        public String getPath() {
            return path;
        }

        public int getTotal() {
            return total;
        }

        public String getPerPage() {
            return perPage;
        }

        public int getLastPage() {
            return lastPage;
        }

        public int getCurrentPage() {
            return currentPage;
        }

        public List<ItemsEntity> getItems() {
            return items;
        }

        public String getPageName() {
            return pageName;
        }

        public class ItemsEntity  implements Serializable{
            private static final long serialVersionUID = 1L;
            /**
             * file_url : /classroom/1/teacher/289/3/hw/2d48d911-fa0a-4f97-9b18-aef1d1d7f46a.jpg
             * create_id : 289
             * create_time : 2017-06-12 05:37:00
             * class_id : 3
             * id : 14972602206
             * subjectid : 1
             */
            private String file_url;
            private int create_id;
            private String create_time;
            private int class_id;
            private String id;
            private int subjectid;

            public void setFile_url(String file_url) {
                this.file_url = file_url;
            }

            public void setCreate_id(int create_id) {
                this.create_id = create_id;
            }

            public void setCreate_time(String create_time) {
                this.create_time = create_time;
            }

            public void setClass_id(int class_id) {
                this.class_id = class_id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public void setSubjectid(int subjectid) {
                this.subjectid = subjectid;
            }

            public String getFile_url() {
                return file_url;
            }

            public int getCreate_id() {
                return create_id;
            }

            public String getCreate_time() {
                return create_time;
            }

            public int getClass_id() {
                return class_id;
            }

            public String getId() {
                return id;
            }

            public int getSubjectid() {
                return subjectid;
            }
        }
    }
}
